package edu.nf.llmtest.mapper;

import edu.nf.llmtest.model.entity.Type;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ Author bin
 * @ Create  2025/11/13 11:10
 * 类型持久层
 **/
@Mapper
public interface TypeMapper {
    List<Type> listType();

    /**
     * 通过类型名称拿到类型id
     * */
    Integer getTypeIdByName(String name);
}
